<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.thymeleaf.org/thymeleaf-extras-shiro">
<head>
    <meta charset="UTF-8">
    <title>admin</title>
</head>
<body>
  <!--/*@thymesVar id="message" type="String"*/-->
  <h1 th:text="${message}"></h1>
  <hr>
  <shiro:haPermissions name="user:query">
      <a href="#" th:href="@{/user/query}" class="ui mini teal basic button">查询</a>
  </shiro:haPermissions>
  <shiro:hasPermission name="user:add">
      <a href="#" th:href="@{/user/add}" class="ui mini teal basic button">添加</a>
  </shiro:hasPermission>

  <shiro:hasPermission name="user:update">
      <a href="#" th:href="@{/user/update}" class="ui mini teal basic button">修改</a>
  </shiro:hasPermission>


  <a href="#" th:href="@{/user/open}" class="ui mini teal basic button">无限制按钮</a>

</body>
</html>